package org.springblade.modules.repair.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Description 电梯下拉框选择model
 * @Author ysq
 * @Date 2021/9/29
 **/
@Data
public class ElevatorSelectVO {

	@ApiModelProperty(value = "电梯id")
	private Long elevatorId;

	@ApiModelProperty(value = "电梯详细位置")
	private String elevatorAddress;

	/**
	 * 栋号
	 */
	@ApiModelProperty(value = "栋号")
	private String block;

	/**
	 * 自定义单位 例如 栋，座
	 */
	@ApiModelProperty(value = "block_name")
	private String blockName;

	/**
	 * 单元号
	 */
	@ApiModelProperty(value = "单元号")
	private String unit;

	/**
	 * 自定义单位 例如 单元
	 */
	@ApiModelProperty(value = "unit_name")
	private String unitName;

	/**
	 * 梯号
	 */
	@ApiModelProperty(value = "梯号")
	private Integer num;

	@ApiModelProperty(value = "登记证编号")
	private String equipmentRegisterNumber;

	@ApiModelProperty(value = "小区名称")
	private String name;

	@ApiModelProperty(value = "小区地址")
	private String address;

	@ApiModelProperty(value = "小区id")
	private Long id;

	@ApiModelProperty(value = "计划id")
	private Long planId;

	@ApiModelProperty(value = "工单状态")
	private Integer planStatus;

	@ApiModelProperty(value = "维保历史数")
	private Integer historyTotal;

	@ApiModelProperty(value = " 0-年审，1-非年审")
	private Integer useType;

	@ApiModelProperty(value = "制造日期")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date madeDate;

	@ApiModelProperty(value = "品牌名称")
	private String brandName;

	@ApiModelProperty(value = "合同状态 3:已到期, 5:即将过期")
	private Integer contractStatus;
}
